
var u = navigator.userAgent, app = navigator.appVersion;
var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Linux') > -1; //android终端或者uc浏览器
var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端


function shopDetail(shopid){
	if(jkver){
		if (isAndroid) {
			window.android.JCShopDetail(shopid);

		} else if (isiOS) {
			JCShopDetail(shopid);
		}
	}else{
		location.href = 'http://m.mwee.cn/shop/detail/' + shopid;
	}
	
}

var jkver = '';

function CJVersions(appversion, jkversion) {
	jkver = jkversion;
	var target = document.getElementById('footer')
	target.style.display='none';
}

